﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DebugPage.aspx.cs" Inherits="Hisun.View.UserAccount.DebugPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table style="width:100%;">
            <tr>
                <td>
                  
                    <asp:GridView ID="GridView_DebugList" runat="server"  SkinID ="GridView" AllowPaging="True" 
                        AutoGenerateColumns="False" DataSourceID="LinqDataSource1" Height="70px" 
                        PageSize="1" Width="565px">
                        <Columns>
                            <asp:BoundField DataField="公司ID" HeaderText="公司ID" ReadOnly="True" 
                                SortExpression="公司ID" />
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server" Height="89px" 
                                        Text='<%# Eval("公司名称") %>' TextMode="MultiLine" Width="500px" 
                                        EnableTheming="False"></asp:TextBox>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:Button SkinID = "Button" ID="Button_Edit" runat="server" 
                                        CommandArgument='<%# Eval("公司ID") %>' oncommand="Button_Edit_Command" 
                                        Text="回复" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td>
                    请在如下文本框中录入测试信息，并点击“增加”按钮提交。
                      本界面用于记录测试过程中出现的问题，请按如下格式提交问题描述：<br />
                    测试人：<br />
                    时间：<br />
                    菜单名称：<br />
                    操作过程：<br />
                    问题：<br /></td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Height="221px" TextMode="MultiLine" 
                        Width="379px" EnableTheming="False"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button SkinID = "Button" ID="Button_Save" runat="server" onclick="Button_Save_Click" 
                        Text="增加" />
                    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                        ContextTypeName="Hisun.Models.HisunDBDataContext" Select="new (公司ID, 公司名称)" 
                        TableName="TABC_JS_Companies" OrderBy="公司ID desc">
                    </asp:LinqDataSource>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
